package spring.cloud.feign.client;

import org.springframework.stereotype.Component;

import feign.Response;
import feign.codec.ErrorDecoder;

//@Component
public class FeignExceptionDeCoder implements ErrorDecoder {

	@Override
	public Exception decode(String methodKey, Response response) {
		 
		return new RuntimeException("FeignExceptionDeCoder");
	}

}
